package com.scjp_Java6.AccesingStaticMethodsAndVariables;

public class TestFrog {

	/**
	 * @param args
	 */
	@SuppressWarnings("static-access")
	public static void main(String[] args) {
		new Frog2();
		new Frog2();
		new Frog2();
		System.out.println("frogCount:"+Frog2.frogCount);//Access static variable
		
		
		Frog2 f=new Frog2();
		@SuppressWarnings("unused")
		int frogs=f.frogCount; //Access static variable FrogCount using f
		
		System.out.println(f);
	}

}
